package com.linkivr.service;

import java.util.Date;
import java.util.List;
import com.linkivr.model.*;

public interface CurrDataService {
	public void add(T_curr_data tabObj);

	public int delete(int id);

	public void update(T_curr_data tabObj);

	public List<T_curr_data> queryAll();
	public List<T_curr_data> queryAll(Date starttime, Date endtime);
	public List<T_curr_data> queryAll( int app_id, int com_id, int com_addr,Date starttime, Date endtime);
	public List<T_curr_data> queryAll(int start, int limit);
	public List<T_curr_data> queryAll(int start, int limit, int app_id, int com_id, int com_addr);

	public T_curr_data query(int id);

	public int queryCount();
}
